#include "stdafx.h"
#include "ArtificialSea.h"
#include "OgreException.h"


#ifdef _WIN32
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
#else
int main(int argc, char* argv[])
#endif
{
	try {
		ArtificialSea app;
		app.init("OGRE");
	} catch (Ogre::Exception exc) {
		MessageBox(0, exc.getFullDescription().c_str(), "Exception", MB_OK | MB_ICONERROR | MB_TASKMODAL);
		Ogre::LogManager::getSingleton().logMessage("Blad podczas inicjalizacji\n");
	}
	return 0;
}